package cn.onlineclass.entity;
import java.util.Date;

public class OVisit {

  private long id;
  private String openid;
  private String videoid;
  private long watchtime;
  private Date createtime;


  public OVisit() {
  }

  public OVisit(String openid, String videoid, long watchtime, Date createtime) {
    this.openid = openid;
    this.videoid = videoid;
    this.watchtime = watchtime;
    this.createtime = createtime;
  }

  public OVisit(long id, String openid, String videoid, long watchtime, Date createtime) {
    this.id = id;
    this.openid = openid;
    this.videoid = videoid;
    this.watchtime = watchtime;
    this.createtime = createtime;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getOpenid() {
    return openid;
  }

  public void setOpenid(String openid) {
    this.openid = openid;
  }


  public String getVideoid() {
    return videoid;
  }

  public void setVideoid(String videoid) {
    this.videoid = videoid;
  }


  public long getWatchtime() {
    return watchtime;
  }

  public void setWatchtime(long watchtime) {
    this.watchtime = watchtime;
  }


  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }

}
